﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MessageAdd.aspx.cs" Inherits="MessageAdd" %>

<%@ Register Assembly="YYWebControl" Namespace="YYWebControl.YYSimpleCalendar" TagPrefix="YYWebControl" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>公告栏</title>

    <link href="css/hfmanger.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
                <td align="left" class="toolbar" height="23" valign="bottom" style="width: 867px">
                    &nbsp;<asp:Image ID="Image1" runat="server" ImageUrl="images/rss_2.gif" />
                                <asp:Label ID="Label1" runat="server" Text="公告栏" Font-Bold="True"></asp:Label></td>
            </tr>
            <tr>
                <td align="center"  height="15" style="width: 867px" valign="bottom" class="toolbar">
                </td>
            </tr>
            <tr>
                <td align="center"  height="25"  valign="top" class="toolbar">
        <table id="Table1" border="0" cellpadding="1" cellspacing="1" width="90%">
            <tr>
                <td width="20%" align="left" class="line">
                    <asp:Label ID="lblTitle" runat="server">标题</asp:Label></td>
                <td align="left" style="width: 474px" class="line">
                    <asp:TextBox ID="txtTitle" runat="server" CssClass="input_plane" Width="262px"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="left" class="line">
                    <asp:Label ID="lblType" runat="server">类型</asp:Label></td>
                <td align="left" style="width: 474px" class="line">
                    <asp:TextBox ID="txtType" runat="server" CssClass="input_plane" Width="259px"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="left" class="line">
                    <asp:Label ID="lblSubmitDate" runat="server">发布日期:</asp:Label></td>
                <td align="left" style="width: 474px" class="line">
                    <yywebcontrol:yysimplecalendar id="txtSubmitDate" runat="server" cssclass="input_plane"></yywebcontrol:yysimplecalendar>
                </td>
            </tr>
            <tr>
                <td align="left" class="line">
                    <asp:Label ID="lblDuration" runat="server">有效期:</asp:Label></td>
                <td align="left" style="width: 474px" class="line">
                    <asp:TextBox ID="txtDuration" runat="server" CssClass="input_plane"></asp:TextBox><asp:Label
                        ID="lblDays" runat="server">天</asp:Label>
                    <asp:Label ID="Label2" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="2" style="height: 16px" align="left" class="line">
                    <asp:Label ID="lblContent" runat="server">内容</asp:Label></td>
            </tr>
            <tr>
                <td colspan="2" class="line" align="left">
                    <asp:TextBox ID="txtContent" runat="server" Height="308px" TextMode="MultiLine" Width="96%"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="left" class="line">
                    <asp:Label ID="lblAttach" runat="server" Width="49px">附件</asp:Label></td>
                <td align="left" style="width: 474px" class="line">
                    <input id="inputFiles" runat="server"  type="file" name="File" onclick="return inputFile_onclick()" />
                    <asp:Button ID="ButtonConfirm" runat="server" CssClass="btn" OnClick="ButtonConfirm_Click"
                        Text="确定上传" />
                    <asp:TextBox ID="txtMessageId" runat="server" Visible="False"></asp:TextBox><br />
                    <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click"></asp:LinkButton><br />
                    <asp:Label ID="labelUpResult" runat="server" Font-Size="9pt" Width="179px"></asp:Label>
                    <asp:TextBox ID="txtFile" runat="server" Visible="False"></asp:TextBox>
                    <asp:TextBox ID="txtNewFileName" runat="server" Visible="False"></asp:TextBox>
                    <asp:TextBox ID="txtFileName" runat="server" Visible="False"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="left" class="line" colspan="2" style="height: 21px">
                    发起人:<asp:TextBox ID="tbxSubmitMan" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td align="left" colspan="2" style="height: 21px" class="line">
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                    <asp:Button ID="btnSave" runat="server" CssClass="btn" OnClick="btnSave_Click"
                        Text="提交" Width="38px" />
                    &nbsp;&nbsp;&nbsp;<asp:Button ID="btnCancel" runat="server" CausesValidation="False"
                        CssClass="btn" OnClick="btnCancel_Click" Text="返回" /></td>
            </tr>
        </table>
                </td>
            </tr>
        </table>
        <br />
    
    </div>
    </form>
</body>
</html>
